package entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Dept entity. @author MyEclipse Persistence Tools
 */

public class Dept implements java.io.Serializable {
	
	// Fields

	private Long id;
	private Erjizuzhi erjizuzhi;
	private String dname;
	private Set userses = new HashSet(0);
	private Set dangeyuangongxinchous = new HashSet(0);
	private Set zhiweifabus = new HashSet(0);
	private Set zhichengbiaos = new HashSet(0);
	private Set renshidengjis = new HashSet(0);
	private Set zhiweibiaos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Dept() {
	}

	/** minimal constructor */
	public Dept(String dname) {
		this.dname = dname;
	}

	/** full constructor */
	public Dept(Erjizuzhi erjizuzhi, String dname, Set userses,
			Set dangeyuangongxinchous, Set zhiweifabus, Set zhichengbiaos,
			Set renshidengjis, Set zhiweibiaos) {
		this.erjizuzhi = erjizuzhi;
		this.dname = dname;
		this.userses = userses;
		this.dangeyuangongxinchous = dangeyuangongxinchous;
		this.zhiweifabus = zhiweifabus;
		this.zhichengbiaos = zhichengbiaos;
		this.renshidengjis = renshidengjis;
		this.zhiweibiaos = zhiweibiaos;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Erjizuzhi getErjizuzhi() {
		return this.erjizuzhi;
	}

	public void setErjizuzhi(Erjizuzhi erjizuzhi) {
		this.erjizuzhi = erjizuzhi;
	}

	public String getDname() {
		return this.dname;
	}

	public void setDname(String dname) {
		this.dname = dname;
	}

	public Set getUserses() {
		return this.userses;
	}

	public void setUserses(Set userses) {
		this.userses = userses;
	}

	public Set getDangeyuangongxinchous() {
		return this.dangeyuangongxinchous;
	}

	public void setDangeyuangongxinchous(Set dangeyuangongxinchous) {
		this.dangeyuangongxinchous = dangeyuangongxinchous;
	}

	public Set getZhiweifabus() {
		return this.zhiweifabus;
	}

	public void setZhiweifabus(Set zhiweifabus) {
		this.zhiweifabus = zhiweifabus;
	}

	public Set getZhichengbiaos() {
		return this.zhichengbiaos;
	}

	public void setZhichengbiaos(Set zhichengbiaos) {
		this.zhichengbiaos = zhichengbiaos;
	}

	public Set getRenshidengjis() {
		return this.renshidengjis;
	}

	public void setRenshidengjis(Set renshidengjis) {
		this.renshidengjis = renshidengjis;
	}

	public Set getZhiweibiaos() {
		return this.zhiweibiaos;
	}

	public void setZhiweibiaos(Set zhiweibiaos) {
		this.zhiweibiaos = zhiweibiaos;
	}

}